package com.wenzheng.quartz.domain.vo;

import javax.validation.constraints.NotBlank;

public class AddTaskVo {
	@NotBlank(message = "任务名不能为空")
	private String taskName;
	@NotBlank(message = "任务class不能为空")
	private String taskClassName;
	private String description;
	@NotBlank(message = "cron表达式不能为空")
	private String cron;
	
	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getTaskClassName() {
		return taskClassName;
	}

	public void setTaskClassName(String taskClassName) {
		this.taskClassName = taskClassName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}
	
	
	
}
